package cn.daichi.demo;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class BeanB {

    private String name;
    private Integer age;


    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder();
        sb.append(name);
        sb.append("|").append(age);
        return sb.toString();
    }
}
